﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UploadProductImageApplication
{
    public partial class CatForm : Form
    {
        public CatForm()
        {
            InitializeComponent();

            var svc = new DemoWcfSvc.DemoWcfServiceClient();

            var data = svc.GetAllCategories();

            dataGridView1.DataSource = data;
        }
    }
}
